import React, {Suspense} from 'react'
import {useRoutes} from 'react-router-dom'
import WidthRouter from './components/HOC/WidthRouter'
import RouterList from './router'
function App() {
   const Element=useRoutes(RouterList)
   return(
      <div>{Element}</div>
   )
}

export default WidthRouter(App)